package com.example.assetmanagement.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface BackupService {

    void createBackup(Long userId) throws IOException, InterruptedException;

    void importBackup(MultipartFile sqlFile, Long userId) throws IOException, InterruptedException;

    void restoreBackup(Long backupId) throws IOException, InterruptedException;

    void deleteBackup(Long backupId);

    List<Map<String, Object>> list(int page, int size);

    long count();
} 